<?php

/**
 * Assignee form.
 *
 * @package    acca
 * @subpackage form
 * @author     Rommel M. Zamora / Sonny L. Cabali
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class AssigneeForm extends BaseAssigneeForm
{
  public function configure()
  {

		//added by rommel m. zamora
    unset(
      $this['created_at'],
      $this['updated_at'],
      $this['application_id']
    );

    if ($this->object->exists())
    {
      $this->widgetSchema['delete'] = new sfWidgetFormInputCheckbox();
      $this->widgetSchema['delete']->setLabel('Delete');
      $this->validatorSchema['delete'] = new sfValidatorPass();
    }		

  }
}
